class_name = "CShip"
object_name = "Large Cargo Ship type 1"
detail_type = "DET_SHIP" //list of types is in \inc\SimulationSystem\DetailTypes.inc

//////	PhysicsBody properties
//VisualImage = <int TYPE>,<string File_PathName>,<bool cast_shadows>

VisualImage=0,"graphics/ships/LargeCargoShipType1/LargeCargoShipType1.mgm",true
DistantLOD="LuaScripts/WorldObjects/Ships/DistantLODs/LargeCargoShipType1_Distant.txt"
DLODArgs=63227,63228

ImageAttrs="IA_NOMINPIXELS","IA_NOMINZ","IA_NOCLIP_ANIM","IA_NOCLIP","IA_ALWAYSVISIBLE"
//	IA_DEFAULT=0,
//	IA_NOCLIP=1,
//	IA_NOCLIP_ANIM=2,
//	IA_NOROTINTERPOLATION=4,
//	IA_NOMINZ=8,
//	IA_NOMINPIXELS=16,
//	IA_NOPOSINTERPOLATION=32,
//	IA_CLOSEVIEWARG=64,
//	IA_ALWAYSVISIBLE=128,
//	IA_SCALEARG=256,
//	ImageAttr=Attr1+Attr2+...+AttrN

CollisionBody="graphics/ships/LargeCargoShipType1/LargeCargoShipType1.col"

SoundScript="LuaScripts/Sound/Vehicles/LargeTankerShipType1.cfg"

[attach=0]
	position= 0.0, 0.0, 0
	object = "LuaScripts/WorldObjects/Bots/BotShipper.txt"
[end]

[attach=1]
	position= -24.4, 5.8, -6.9
	rotation= 30, 0, 0
	object = "LuaScripts/WorldObjects/FlareGun.txt"
[end]

AttachedCameras = "LuaScripts\WorldObjects\fixcameras\Vehicles\LargeCargoShipType1.txt"

CommandMonitor="LuaScripts/WorldObjects/VehicleMonitor.txt"


// 
logtreshold=0.0001
MaxDeleteTime = 600

length = 111
height = 6.8
width  = 16.0

TotalPoints = 8

point0=41, 0, -5.5, 1837.5, 18, 6
point1=41, 0, 5.5, 1837.5, 18, 6
point2=16, 0, -8, 1837.5, 18, 6
point3=16, 0, 8, 1837.5, 18, 6
point4=-16, 0, -8, 1837.5, 18, 6
point5=-16, 0, 8, 1837.5, 18, 6
point6=-41, 0, -7, 1837.5, 18, 6
point7=-41, 0, 7, 1837.5, 18, 6


//  .  ,   3D .
MaxWaveTime = 15	// 
WavePointSize = 4	// 
MaxWave = 400000	//  

Cx = 6000.0					//  
Cw = 100.0					//     

sendrate = 20				//    50     (=20    2.5)

mass = 7000000.0
MaxEngineForce = 800000.0
MinEngineForce = 100
Csf=1.5
PrioritySpeed=5.5
MaxPropRotationRPM=120.0	//   (/)    
PropRotationSmoothK=0.01	//     
TurnShift=0.5				//        
RudderAngle=70				//    
Cwx=10						//     , ,  Cw   
Cwz=500						//     , ,  Cwx*20   
Cang=0.5					//  
RudderPos=-49.1,-3.1,0		//     (  )
FrictionPos=0,-8,0			//     
GlidingK = 0.0				//       X    ().   - 0
GlidingPosK = 0.8			//    . 1 -  , 0 -  .

// Damage model

energyloss="",true,6.0,1000		//     , true -       -,       ,        

Armor=6						//   

LifeRate=8000000
LifeRateFrag=8000000

EngineExhaustArg = 63400
BackTrailArg = 63228
FrontTrailArg = 63227
PropSprayArg=63233

[splash]
	pos = 56.35, 0.0, 0
	splashArg = 63224
	SplashTotalTime = 1.0
	SplashAttackTime = 0.1
	SplashKoeff = 30
	startArgValue = 0.5
	
	splashDiffHeight = 2.5
	// time = splashStackCount * splashstacktime
	splashStackCount = 50
	splashstacktime = 0.1
[end]

floathook=56.35, 0.3, 0,	100,false	//x,y,z, Arg, 3D water,      
floathook=-52.66, 0.3, 0,	101,false	//     
floathook=56.35, 0.3, 0,	102,true	//     
floathook=-52.66, 0.3, 0,	103,true	//      

OneSectionMode = true
SectionsHealthPercent = 1.0f

CommandSectionId = 4

MinMovementHealth = 0.3

SinkEffectScript = "LuaScripts/WorldObjects/explosions/Effects/SinkTransport.txt"

[section=0]
	Armor=6						//   

	LifeRate=8000000
	LifeRateFrag=8000000

	ConvexName = "col_1"

	// effect
	EffectCoord = 33.6, 0.7, -5.0
	ExplosionScript = "LuaScripts/WorldObjects/explosions/Detonation/ShipMedium.txt"

	DestructArg = 761
	FiringArg = 63215
	SmokeArgBase = 63215
	SmokeArgTotalNum = 1
	SmokeStartHealth = 0.48			// ,    
	FireEffectTime = 300.0			//     

	RegenerationMax = 0.49			//   Life -
	RegenerationMin = 0.2			//   Life,     
	RegenerationPercent = 0.0016	//  ,  Life  
	Firing=0.0008					//     ,  Life  

	MinMovementHealth = 0.2			// ,    
	MinAttackHealth = 0.05			// ,    

	CollisionLifeRate = 14000000	//   ,   ,    .     \Ships\1124.txt.   5  .
	CollisionMinImpulse = 280000	//      (0.02 of CollisionLifeRate).
	AlwaysColDamage=false			// True -      

	pointsTotal= 1
	point0 = 0
[end]

[section=1]
	Armor=6						//   

	LifeRate=8000000
	LifeRateFrag=8000000

	ConvexName = "col_2"

	// effect
	EffectCoord = 7.0, 1.0, 5.8
	ExplosionScript = "LuaScripts/WorldObjects/explosions/Detonation/ShipMedium.txt"

	DestructArg = 771
	FiringArg = 63216
	SmokeArgBase = 63216
	SmokeArgTotalNum = 1
	SmokeStartHealth = 0.48			// ,    
	FireEffectTime = 300.0			//     

	RegenerationMax = 0.49			//   Life -
	RegenerationMin = 0.2			//   Life,     
	RegenerationPercent = 0.0016	//  ,  Life  
	Firing=0.0008					//     ,  Life  

	MinMovementHealth = 0.2			// ,    
	MinAttackHealth = 0.05			// ,    

	CollisionLifeRate = 14000000	//   ,   ,    .     \Ships\1124.txt.   5  .
	CollisionMinImpulse = 280000	//      (0.02 of CollisionLifeRate).
	AlwaysColDamage=false			// True -      

	pointsTotal= 1
	point0 = 3
[end]

[section=2]
	Armor=6						//   

	LifeRate=8000000
	LifeRateFrag=8000000

	ConvexName = "col_5"

	// effect
	EffectCoord = -23.4, 1.8, --3.5
	ExplosionScript = "LuaScripts/WorldObjects/explosions/Detonation/ShipMedium.txt"

	DestructArg = 781
	FiringArg = 63217
	SmokeArgBase = 63217
	SmokeArgTotalNum = 1
	SmokeStartHealth = 0.48			// ,    
	FireEffectTime = 300.0			//     

	RegenerationMax = 0.49			//   Life -
	RegenerationMin = 0.2			//   Life,     
	RegenerationPercent = 0.0016	//  ,  Life  
	Firing=0.0008					//     ,  Life  

	MinMovementHealth = 0.2			// ,    
	MinAttackHealth = 0.05			// ,    

	CollisionLifeRate = 14000000	//   ,   ,    .     \Ships\1124.txt.   5  .
	CollisionMinImpulse = 280000	//      (0.02 of CollisionLifeRate).
	AlwaysColDamage=false			// True -      

	pointsTotal= 2
	point0 = 4
	point1 = 5

[end]

[section=3]
	Armor=6						//   

	LifeRate=8000000
	LifeRateFrag=8000000

	ConvexName = "col_3"

	// effect
	EffectCoord = -41.0, 2.8, -4.0
	ExplosionScript = "LuaScripts/WorldObjects/explosions/Detonation/ShipMedium.txt"

	DestructArg = 791
	FiringArg = 63218
	SmokeArgBase = 63218
	SmokeArgTotalNum = 1
	SmokeStartHealth = 0.48			// ,    
	FireEffectTime = 300.0			//     

	RegenerationMax = 0.49			//   Life -
	RegenerationMin = 0.2			//   Life,     
	RegenerationPercent = 0.0016	//  ,  Life  
	Firing=0.0008					//     ,  Life  

	MinMovementHealth = 0.2			// ,    
	MinAttackHealth = 0.05			// ,    

	CollisionLifeRate = 14000000	//   ,   ,    .     \Ships\1124.txt.   5  .
	CollisionMinImpulse = 280000	//      (0.02 of CollisionLifeRate).
	AlwaysColDamage=false			// True -      

	pointsTotal= 2
	point0 = 6
	point1 = 7

[end]

[section=4]
	Armor=2						//   

	LifeRate=4000000
	LifeRateFrag=4000000

	InfluenceOnTotalHealth = false

	ConvexName = "col_4"

	// effect
	EffectCoord = -3.2, 6.2, -1.0
	ExplosionScript = "LuaScripts/WorldObjects/explosions/Detonation/VehicleNoDmg.txt"

	DestructArg = 901
	FiringArg = 63210
	SmokeArgBase = 63210
	SmokeArgTotalNum = 1
	SmokeStartHealth = 0.48			// ,    
	FireEffectTime = 300.0			//     

	RegenerationMax = 0.49			//   Life -
	RegenerationMin = 0.2			//   Life,     
	RegenerationPercent = 0.0016	//  ,  Life  
	Firing=0.0008					//     ,  Life  

	CollisionLifeRate = 2800000		//   ,   ,    .     \Ships\1124.txt.   5  .
	CollisionMinImpulse = 56000		//      (0.02 of CollisionLifeRate).
	AlwaysColDamage=false			// True -      
[end]

DebugInfo = false